<include file="Public:head" />
<link href="__APP__/Application/{$Think.MODULE_NAME}/Public/css/home.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
    function signDay(obj){
        $.post("__APP__/index.php/Ajax/signDay",{
        },function(data){
            showTip('系统提示',data,'1',2);
            var num = obj.find("span").text();
            var td = "<td  style='background-color:navajowhite;navajowhite ;color:blue'>\n\
<div align='right' valign='top'><span style='position:relative;right:20px;'>"+num+"</span></div>\n\
<div align='left'><img width='35px' height='35px' src='__PUBLIC__/images/cart_3.gif' style='position:relative;left:10px;'>\n\
  已签到</div></td>";
            obj.before(td);
            obj.remove();
        })
    }
</script>
<div id="wrap">
    <div id="school">{$type=0|getAreaName}
        <a href="__APP__/?type=clean">[切换位置]</a>
        <span>/</span>
        <em>个人中心</em>
    </div>
    <!--end of header-->
    <div id="container" class="clearfix">
        <div class="shadow clearfix" id="pCenter">
            <include file="Public:left" />

            <div id="pAccount">
                <div id="sysNotice" style="margin:0">
                    <h1>我的签到</h1>
                </div>
                <table width="100%" style="background:#ffffff; margin-top:10px; 
                       text-align:center; border:1px solid #D9D9D9;line-height:38px;border-spacing:2px;border-collapse:separate">
                            <tr style="color:Black; background:#EEEEEE; ">
                                <td>周日</td>
                                <td>周一</td>
                                <td>周二</td>
                                <td>周三</td>
                                <td>周四</td>
                                <td>周五</td>
                                <td>周六</td>
                            </tr>
                            <tbody id="signrili">
                                <tr height="80px">
                            <foreach name="blankArr" item="row">
                                <td>-</td>
                                <if condition="$row%7  eq $first"></tr></if>
                            </foreach>
                            <foreach name="days" item="row">
                                <if condition="$row['key2']  eq 0"><tr height="80px"></if>
                                {$row['key']|getSign=###}
                                <if condition="$row['key2']  eq 7"></tr></if>
                            </foreach>
                            <foreach name="other" item="row">
                                <td>-</td>
                            </foreach>
                            </tbody>
                        </table>
            </div>
            <!--end of pAccount-->
        </div>
        <!--end of pCenter -->
    </div>
    <include file="Public:foot" />